﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using HeadCounter.Armourer.Base;
using MathematicallySafe.HeadCounter.Data.Interfaces;
using MathematicallySafe.HeadCounter.Data.Models;
using StructureMap;
using StructureMap.Configuration.DSL;
using StructureMap.Pipeline;

namespace MathematicallySafe.HeadCounter.Data
{
    public class DataRegistry: Registry
    {
        public DataRegistry()
        {
            For<IOptions>().Singleton().Use<OptionsModel>();
            For<IUserOptions>().Singleton().Use<UserOptionsModel>();
            For<ILootTable>().Singleton().Use<LootTableModel>();
            For<IGuild>().Singleton().Use<GuildModel>();
            For<IRaidHistory>().Singleton().Use<RaidHistoryModel>();
            For<IHeadCounterService>().Singleton().Use<HeadCounterService>();
        }

    }
}
